<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@taglib uri="/struts-tags" prefix="s"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib prefix="ck" uri="http://ckeditor.com"%>  
<html>
<head>
<title>网络新闻应急性管理系统</title>

<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="this is my page">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="/res/style/common.css">
<link rel="stylesheet" type="text/css" href="/res/style/admin.css">
<script type="text/javascript" src="/res/script/menu.js"></script>
</head>

<body onload="addMenu();">
	<div class="MainDiv">
		<div class="AjustDiv">
			<jsp:include page="/page/admin/adminHeader.jsp"></jsp:include>
			<jsp:include page="/page/admin/adminLeft.html"></jsp:include>
			<!-- 内容部分 -->
			<div class="ContentDiv">
			 	<div class="DetailDiv">
					<div class="ItemDiv"><h2>发布公告</h2></div>
					<div class="ItemDiv">
						<table>
							<tr>
								<td><label>发布者：</label></td>
								<td><input disabled="disabled" type="text" class="" value="${user.nickname}"/></td>
							</tr>
							<tr>
								<td><label>发布时间：</label></td>
								<td><input type="datetime-local" class=""/><label class="Tips">（默认提交后发布）</label></td>
							</tr>
							<tr>
								<td><label>有效期：</label></td>
								<td><input type="datetime-local" class=""/><label class="Tips">（默认为永久有效）</label></td>
							</tr>
						</table>
					</div>
					
					<div class="ItemDiv">
						<textarea rows="10" cols="80" id="news.content">
						</textarea><ck:replace replace="news.content" basePath="res/ckeditor"></ck:replace>
					</div>
					
					<div class="ItemDiv" style="text-align:left;padding:20px;">
						<button type="submit">提交</button>
						<button type="reset">重置</button>
					</div>
			 	</div>
			</div>
		</div>
	</div>
	<jsp:include page="/page/admin/adminFooter.html"></jsp:include>
</body>
</html>
